package com.dwxt.community.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrashIntegralRecoad {
    private Integer tirId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String delivererId;

    private Integer gotIntegral;

    private Integer totalIntegral;

    private Integer trashType;

    private Integer deliverWeight;

    private String deviceId;

    private String houseOwnerId;

    private Integer communityId;

    private String communityName;

    private String houseNumber;

    public Integer getTirId() {
        return tirId;
    }

    public void setTirId(Integer tirId) {
        this.tirId = tirId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDelivererId() {
        return delivererId;
    }

    public void setDelivererId(String delivererId) {
        this.delivererId = delivererId == null ? null : delivererId.trim();
    }

    public Integer getGotIntegral() {
        return gotIntegral;
    }

    public void setGotIntegral(Integer gotIntegral) {
        this.gotIntegral = gotIntegral;
    }

    public Integer getTotalIntegral() {
        return totalIntegral;
    }

    public void setTotalIntegral(Integer totalIntegral) {
        this.totalIntegral = totalIntegral;
    }

    public Integer getTrashType() {
        return trashType;
    }

    public void setTrashType(Integer trashType) {
        this.trashType = trashType;
    }

    public Integer getDeliverWeight() {
        return deliverWeight;
    }

    public void setDeliverWeight(Integer deliverWeight) {
        this.deliverWeight = deliverWeight;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getHouseOwnerId() {
        return houseOwnerId;
    }

    public void setHouseOwnerId(String houseOwnerId) {
        this.houseOwnerId = houseOwnerId == null ? null : houseOwnerId.trim();
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName == null ? null : communityName.trim();
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber == null ? null : houseNumber.trim();
    }
}